package com.ruoyi.vip.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员对象 vip
 *
 * @author ruoyi
 * @date 2021-04-19
 */
public class Vip extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员id */
    private Long vipId;

    /** 会员手机号 */
    @Excel(name = "会员手机号")
    private String vipPhone;

    /** 会员姓名 */
    @Excel(name = "会员姓名")
    private String vipName;

    /** 会员性别 */
    @Excel(name = "会员性别")
    private String vipSex;

    /** 会员类型 */
    @Excel(name = "会员类型")
    private String vipType;

    /** 卡余额 */
    @Excel(name = "卡余额")
    private Float cardBalance;

    /** 折扣 */
    @Excel(name = "折扣")
    private Float discount;


    public void setVipId(Long vipId)
    {
        this.vipId = vipId;
    }

    public Long getVipId()
    {
        return vipId;
    }
    public void setVipPhone(String vipPhone)
    {
        this.vipPhone = vipPhone;
    }

    public String getVipPhone()
    {
        return vipPhone;
    }
    public void setVipName(String vipName)
    {
        this.vipName = vipName;
    }

    public String getVipName()
    {
        return vipName;
    }
    public void setVipSex(String vipSex)
    {
        this.vipSex = vipSex;
    }

    public String getVipSex()
    {
        return vipSex;
    }
    public void setVipType(String vipType)
    {
        this.vipType = vipType;
    }

    public String getVipType()
    {
        return vipType;
    }
    public void setCardBalance(Float cardBalance)
    {
        this.cardBalance = cardBalance;
    }

    public Float getCardBalance()
    {
        return cardBalance;
    }

    public void setDiscount(Float discount) { this.discount = discount; }

    public Float getDiscount()
    {
        return discount;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vipId", getVipId())
            .append("vipPhone", getVipPhone())
            .append("vipName", getVipName())
            .append("vipSex", getVipSex())
            .append("vipType", getVipType())
            .append("cardBalance", getCardBalance())
                .append("discount", getDiscount())
                .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
